new_version=$V_SERVER
module=$1

jar_name="flight-ultimate-${module}.jar"
rm_cmd="rm -rf ./jar/${jar_name}"

docker build --build-arg MODULE_NAME=${module} -f Dockerfile -t fu/$module:$new_version .
./push.sh $module
$rm_cmd
